package com.meituan.stock.dao.model;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ShenWenhao
 * @Created by ShenWenhao
 * @Date 2022/5/9 15:06
 */
@Data
public class StockDO {

    /**
     * 唯一主键
     */
    private Long id;

    /**
     * 商品id
     */
    private Long goodId;

    /**
     * 仓库id
     */
    private Long warehouseId;

    /**
     * 金额
     */
    private BigDecimal money;

    /**
     * 数量
     */
    private Integer account;

    /**
     * 是否被删除
     */
    private Integer deleted;

}
